package com.smh.a05ObjectClassDemo5;

public class IntegerDemo3 {
    public static void main(String[] args) {

        Integer i = 121;
        //2
        System.out.println(Integer.toBinaryString(i));
        //8
        System.out.println(Integer.toOctalString(i));
        //16
        System.out.println(Integer.toHexString(i));
        System.out.println(Integer.parseInt("213"));
//不能是字母
        //System.out.println(Integer.parseInt("asd"));
        System.out.println(3+"23");




    }
}
